<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>路漫漫其修远兮，吾将上下而求索</title><meta name="author" content="Charles Yan"><meta name="copyright" content="Charles Yan"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="脑子有智慧，心里有担当，事事有着落，见见有回应">
<meta property="og:type" content="website">
<meta property="og:title" content="路漫漫其修远兮，吾将上下而求索">
<meta property="og:url" content="https://www.charlesyan.cn/index.html">
<meta property="og:site_name" content="路漫漫其修远兮，吾将上下而求索">
<meta property="og:description" content="脑子有智慧，心里有担当，事事有着落，见见有回应">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://www.charlesyan.cn/img/My%20avatar.jpg">
<meta property="article:author" content="Charles Yan">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://www.charlesyan.cn/img/My%20avatar.jpg"><link rel="shortcut icon" href="/img/favicon.ico"><link rel="canonical" href="https://www.charlesyan.cn/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"search.xml","languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"简"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: true,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'mediumZoom',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#121212","position":"bottom-left"},
  source: {
    jQuery: 'https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js',
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
    },
    fancybox: {
      js: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js',
      css: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isanchor: true
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '路漫漫其修远兮，吾将上下而求索',
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2021-07-05 09:35:45'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const fontSizeVal = saveToLocal.get('global-font-size')
    if (fontSizeVal !== undefined) {
      document.documentElement.style.setProperty('--global-font-size', fontSizeVal + 'px')
    }
    })(window)</script><link rel="stylesheet" href="/css/selfdesign.css" media="defer" onload="this.media='all'"><meta name="generator" content="Hexo 5.4.0"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="author-avatar"><img class="avatar-img" src="/img/My%20avatar.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/archives/"><div class="headline">文章</div><div class="length-num">37</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/tags/"><div class="headline">标签</div><div class="length-num">22</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/categories/"><div class="headline">分类</div><div class="length-num">12</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/messageboard/"><i class="fa-fw fa fa-coffee"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fa fa-link"></i><span> 友情链接</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fa fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fa fa-list"></i><span> 清单</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fa fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fa fa-film"></i><span> 电影</span></a></li><li><a class="site-page child" href="/Gallery/"><i class="fa-fw fas fa-images"></i><span> 照片</span></a></li></ul></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/16922.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">路漫漫其修远兮，吾将上下而求索</a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/messageboard/"><i class="fa-fw fa fa-coffee"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fa fa-link"></i><span> 友情链接</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fa fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fa fa-list"></i><span> 清单</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fa fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fa fa-film"></i><span> 电影</span></a></li><li><a class="site-page child" href="/Gallery/"><i class="fa-fw fas fa-images"></i><span> 照片</span></a></li></ul></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">路漫漫其修远兮，吾将上下而求索</h1><div id="site-subtitle"><span id="subtitle"></span></div><div id="site_social_icons"><a class="social-icon" href="https://github.com/yan122927467" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:122927467@qq.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2020/02/24/markdown%E8%AF%AD%E6%B3%95/" title="markdown语法，由浅入深，最全攻略，笔记。">     <img class="post_bg" src="https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1613194509,3683268681&amp;fm=26&amp;gp=0.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="markdown语法，由浅入深，最全攻略，笔记。"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/02/24/markdown%E8%AF%AD%E6%B3%95/" title="markdown语法，由浅入深，最全攻略，笔记。">markdown语法，由浅入深，最全攻略，笔记。</a><div class="article-meta-wrap"><span class="article-meta"><i class="fas fa-thumbtack sticky"></i><span class="sticky">置顶</span><span class="article-meta__separator">|</span></span><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2020-02-24T10:34:30.702Z" title="发表于 2020-02-24 18:34:30">2020-02-24</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2020-08-28T13:13:48.631Z" title="更新于 2020-08-28 21:13:48">2020-08-28</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E4%B8%8A%E8%AF%BE%E7%AC%94%E8%AE%B0/">上课笔记</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E4%B8%8A%E8%AF%BE%E7%AC%94%E8%AE%B0/">上课笔记</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/markdown/">markdown</a></span></div><div class="content">一、markdown简介（注：如果对markdown有一定了解。可以略过此处，第一章主要对markdown基础知识做个补充,摘自菜鸟教程此处原文档 ）
1.1 markdown背景1. markdown是一种轻量级标记语言，她与徐人们使用易读易写的纯文本格式编写文档。2. Markdown 语言在 2004 由约翰·格鲁伯（英语：John Gruber）创建。3. Markdown 编写的文档可以导出 HTML 、Word、图像、PDF、Epub 等多种格式的文档。4. Markdown 编写的文档后缀为 .md, .markdown。1.2 markdown应用Markdown 能被使用来撰写电子书，如：Gitbook。当前许多网站都广泛使用 Markdown 来撰写帮助文档或是用于论坛上发表消息。例如：GitHub、简书、reddit、Diaspora、Stack Exchange、OpenStreetMap 、SourceForge等。1.3 编辑器编辑器有很多种，基本各大编辑器都可以编辑markdown格式文档。比如：Typora，sublime Text, coderunne ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/06/27/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/" title="网络安全复习提纲">     <img class="post_bg" src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/12998.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="网络安全复习提纲"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/27/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/" title="网络安全复习提纲">网络安全复习提纲</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-06-27T01:33:46.091Z" title="发表于 2021-06-27 09:33:46">2021-06-27</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-07-05T01:17:03.851Z" title="更新于 2021-07-05 09:17:03">2021-07-05</time></span></div><div class="content">网络安全信息安全三大特性
保密性，完整性，可用性
1- 168页 网络防御模型 三个模型 
p2DR 安全策略Policy 防护Protection 检测Detection 响应Response
APPBRR 风险评估 安全策略 系统防护 动态检测 实施响应 灾难恢复
X.800定义
认证 访问控制 数据保密 数据完整 不可否认
3.密码学技术
攻击分类主动攻击中断，篡改，伪造。被动攻击消息内容泄露，流量分析。
RSA用于签名和加密
DSA只用于签名
消息认证
数字签名机制
数字签名在网络安全中的作用：可以防止重放攻击，伪造
公钥基础设施
网络实体的身份认证，电子信息的完整性，把实体和公钥联系在一起
PKI可以发放密钥
防火墙知道什么时候用， 内网外网 DMZ区(内外网都可以访问)
防火墙不能防范旁路连接。
8-49页
包过滤技术:对数据包进行过滤(筛选)，是最早、最基本的访 问控制技术，又称报文过滤技术
优点: 速度快。检查规则相对简单，耗时短，效率高，对用户性能影响小
缺点:
 安全性差。过滤判断条件受限，前后报文和检测无关，安全性差  应用层控制能力弱 不能实现用户级控制
网络 ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/06/24/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8%E5%AE%9E%E8%AE%AD%E7%AC%AC%E5%9B%9B%E5%A4%A9/" title="信息系统安全实训第四天">     <img class="post_bg" src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/3989.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="信息系统安全实训第四天"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/24/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8%E5%AE%9E%E8%AE%AD%E7%AC%AC%E5%9B%9B%E5%A4%A9/" title="信息系统安全实训第四天">信息系统安全实训第四天</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-06-24T15:13:39.255Z" title="发表于 2021-06-24 23:13:39">2021-06-24</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-07-05T01:17:13.810Z" title="更新于 2021-07-05 09:17:13">2021-07-05</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/">网络安全</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E4%B8%8A%E8%AF%BE%E7%AC%94%E8%AE%B0/">上课笔记</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E7%BD%91%E7%BB%9C%E6%94%BB%E9%98%B2/">网络攻防</a></span></div><div class="content">信息系统安全实训第四天文件上传漏洞1. 文件上传漏洞训练营pass-03
已知不能上传php文件，可以把一句话木马后缀改成.php3。然后上传


右击复制图像连接，获取urlhttp://d3566e57.yunyansec.com/upload/202106241712204346.php3

在httpd.conf 文件中添加：



打开蚁剑


2. 文件上传漏洞训练营pass-21
这里会过滤php文件以及php字段。因此我们生成一句话木马图片。（题目限制）


用记事本打开图片写入代码。
1cat 1.txt &gt;&gt; 1.jpg#1.txt中是一句话木马

然后上传该文件。然后显示上传成功，以上面同样的方法用蚁剑连接。


3. UCMS文件上传漏洞
利用kali进行端口扫描

1python3 dirsearch.py -u http://5f70ea3f.yunyansec.com -e jsp,php

进入网址：http://5f70ea3f.yunyansec.com//install/index.php?upgrade/。然后点进入后台。admin  ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/06/23/%E5%AF%86%E7%A0%81%E5%AD%A6%E5%A4%8D%E4%B9%A0%E6%8F%90%E7%BA%B2/" title="密码学复习提纲">     <img class="post_bg" src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/7801.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="密码学复习提纲"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/23/%E5%AF%86%E7%A0%81%E5%AD%A6%E5%A4%8D%E4%B9%A0%E6%8F%90%E7%BA%B2/" title="密码学复习提纲">密码学复习提纲</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-06-23T12:59:21.722Z" title="发表于 2021-06-23 20:59:21">2021-06-23</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-07-05T01:16:57.860Z" title="更新于 2021-07-05 09:16:57">2021-07-05</time></span></div><div class="content">密码学复习提纲第二章 密码学的基本概念1. 密码学基本概念
概念

密码编制学和密码分析学共同组成密码学
密码技术的基本思想是对数据进行伪装以隐藏信息，使未授权者不能理解它的只是含义，所谓伪装就是对数据进行一组可逆的数学变换。伪装前原始数据称为明文，伪装后的数据称为密文，伪装的过程称为加密。


密码体制


明文空间M：全体明文的集合
密文空间C：全体密文的集合
密钥空间K：全体密钥的集合，其中每一个密钥K均有加密密钥$K_e$和解密密钥$K_d$组成。即$K = $。
加密算法E：它是一族M到C的加密变换
解密算法D：它是一族C到M的解密变换

加密算法E在密钥的控制下将明文M加密成密文

C = E(M,K_e)而解密算法D在密钥的控制下由密文C解密出明文M

M = D(C,K_d) = D(E(M,K_e),K_d)

密码分析


穷举攻击
数学攻击，多用于概率与统计。（其中统计攻击是最早的一种）
物理攻击

密码攻击类型
仅知密文攻击
已知明文攻击
选择明文攻击
选择密文攻击
2. 古典密码
置换密码

把明文中的字母重新排列，字母本身不变，但其位置改变了，这样编程的密码 ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/06/23/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8%E5%AE%9E%E8%AE%AD%E7%AC%AC%E4%B8%89%E5%A4%A9/" title="信息系统安全实训第三天">     <img class="post_bg" src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/3989.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="信息系统安全实训第三天"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/23/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8%E5%AE%9E%E8%AE%AD%E7%AC%AC%E4%B8%89%E5%A4%A9/" title="信息系统安全实训第三天">信息系统安全实训第三天</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-06-23T11:04:52.832Z" title="发表于 2021-06-23 19:04:52">2021-06-23</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-07-05T01:14:14.291Z" title="更新于 2021-07-05 09:14:14">2021-07-05</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/">网络安全</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E4%B8%8A%E8%AF%BE%E7%AC%94%E8%AE%B0/">上课笔记</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E7%BD%91%E7%BB%9C%E6%94%BB%E9%98%B2/">网络攻防</a></span></div><div class="content">信息系统安全实训第三天一、 Crunch生成前三位是139的密码字典 这里使用kali中crunch命令
1crunch 11 11 -t 139%%%%%%%% -o telenumber.txt  
生成的字典为telenumber.txt

然后查看下：
1vim telenumber.txt

二、基础身份认证暴力破解利用hydra进行破解
1hydra -l tomcat -P 10k-most-common.txt -u -e ns http-get://e992301a.yunyansec.com
 然后会爆出如下结果：

账户名输入tomcat，密码输入tomcat。登录成功
 
三、 Hydra暴力破解SSH事先准备好的Ubuntu靶机。已知其用户名为root，然后利用密码字典进行爆破
1hydra -l root -P 字典 ssh:// ip	
成功的话会有绿色的提示。

四、SQL注入getshell
打开hackbar，首先通过order by 进行数据库列数查询，这里一个一个试。



会发现总共有15列

然后进行union select 前十四个不变，最 ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/06/22/%E7%AC%AC%E4%BA%8C%E5%A4%A9%E8%AF%BE%E4%B8%8A%E7%AC%94%E8%AE%B0/" title="docker的简单命令使用">     <img class="post_bg" src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/3989.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="docker的简单命令使用"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/22/%E7%AC%AC%E4%BA%8C%E5%A4%A9%E8%AF%BE%E4%B8%8A%E7%AC%94%E8%AE%B0/" title="docker的简单命令使用">docker的简单命令使用</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-06-22T11:24:42.524Z" title="发表于 2021-06-22 19:24:42">2021-06-22</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-07-05T01:15:45.937Z" title="更新于 2021-07-05 09:15:45">2021-07-05</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/">网络安全</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E4%B8%8A%E8%AF%BE%E7%AC%94%E8%AE%B0/">上课笔记</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E7%BD%91%E7%BB%9C%E6%94%BB%E9%98%B2/">网络攻防</a></span></div><div class="content">123456789101112131415161718192021222324docker import df7a.tar df7a#导入镜像docker images #查看镜像docker run -d -p 94:80 id /start.sh #启动镜像docker ps #查看容器docker -it exec 169 /bin/bash #或者 bashbash -i #打开bash终端docker run -dit #进入到容器内netstat -anpt# 查看端口 var/www/html/# 网页根目录tar cvf html.tar #压缩打包 get-apt install lyb.phpsz html.tardocker ps -a# 查看所有容器，启动与未启动的docker start 959 # 启动容器#导入tar包docker load --input /Users/Yan/Desktop/2.tardocker run -dit -p 94:80  pte_xss:2 /bin/bashdocker stop iddocker rm cbbdocke ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/06/22/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8%E5%AE%9E%E8%AE%AD%E7%AC%AC%E4%BA%8C%E5%A4%A9/" title="信息系统安全实训第二天">     <img class="post_bg" src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/7801.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="信息系统安全实训第二天"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/22/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8%E5%AE%9E%E8%AE%AD%E7%AC%AC%E4%BA%8C%E5%A4%A9/" title="信息系统安全实训第二天">信息系统安全实训第二天</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-06-22T08:31:32.864Z" title="发表于 2021-06-22 16:31:32">2021-06-22</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-07-05T01:14:58.678Z" title="更新于 2021-07-05 09:14:58">2021-07-05</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/">网络安全</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E4%B8%8A%E8%AF%BE%E7%AC%94%E8%AE%B0/">上课笔记</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E7%BD%91%E7%BB%9C%E6%94%BB%E9%98%B2/">网络攻防</a></span></div><div class="content">信息系统安全实训第二天所用系统：Windows server 2003
所用工具：IIS管理器，IIS入侵工具包，蚁剑
ASP网站搭建一、添加IIS管理器
打开Windows server 2003 然后点击添加或删除角色



选择自定义配置



选择应用程序服务器，然后下一步



启用ASP.NET。然后下一步



之后我们看到总结如下：


我们就可以安装了。

二、搭建网站
右击网站点击新建



描述写文件夹名字，一定是英文



设置ip地址以及端口



然后找对应的路径，注意一定是在根目录下，而且此目录下已经放好demo网站文件



选择权限



然后右击新建好的网站，点击属性，如下配置：



点击配置：

















然后点击文档，添加如下两个文件，并置顶



打开刚装好的IIS管理器，将如图所示的全部允许



右击网站点击权限，将来宾用户权限设为完全控制


我们也可以添加用户，点击添加——高级——查找
下方会出现一系列用户，选择需要的用户添加，然后在设置其权限就可以了。


这时我们就可以在我们自己电脑上输入该ip地址加端口号就 ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/06/21/%E7%8E%A9%E8%BD%AC%E5%8B%92%E7%B4%A2%E7%97%85%E6%AF%92/" title="信息系统安全实训第一天">     <img class="post_bg" src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/3989.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="信息系统安全实训第一天"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/21/%E7%8E%A9%E8%BD%AC%E5%8B%92%E7%B4%A2%E7%97%85%E6%AF%92/" title="信息系统安全实训第一天">信息系统安全实训第一天</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-06-21T08:08:57.250Z" title="发表于 2021-06-21 16:08:57">2021-06-21</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-07-05T01:15:18.703Z" title="更新于 2021-07-05 09:15:18">2021-07-05</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/">网络安全</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E4%B8%8A%E8%AF%BE%E7%AC%94%E8%AE%B0/">上课笔记</a><span class="article-meta__link">•</span><a class="article-meta__tags" href="/tags/%E7%BD%91%E7%BB%9C%E6%94%BB%E9%98%B2/">网络攻防</a></span></div><div class="content">信息系统安全实训第一天玩转勒索病毒—通过永恒之蓝连接Windows并远程上传病毒
查看Windows 7 ip地址



测试kali能否ping通10.211.55.9



开启永恒之蓝



搜索模块

1search ms17


选择6

1use 6
然后查看改模块一些参数设置

RHOSTS：要攻击靶机的ip
RPORT：攻击靶机开放的端口

这里我们将RHOSTS 设置为 Windows 7 的ip地址

1set RHOSTS 10.211.55.9


然后run，就是更新设置


以同样的方式设置模块8的RSHOTS，将其设置为靶机的ip（Windows 7）
1234use 8show options#一定注意它的RSHOSTS值set RSHOSTS 10.211.55.9run

在底部出现这个标志即为成功

然后shell 如果乱码的话在输入 chcp 65001



然后将事先准备好的勒索病毒上传到Windows 7 上

1upload kali路径 Windows路径


会发现在Windows 7 c:\  路径下有了该文件，然后远程运行该文件
 ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/2021/06/18/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8%E5%A4%8D%E4%B9%A0%E6%8F%90%E7%BA%B2/" title="信息系统安全复习提纲">     <img class="post_bg" src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/信息系统安全复习提纲/12312432.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="信息系统安全复习提纲"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/18/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8%E5%A4%8D%E4%B9%A0%E6%8F%90%E7%BA%B2/" title="信息系统安全复习提纲">信息系统安全复习提纲</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-06-18T12:07:46.335Z" title="发表于 2021-06-18 20:07:46">2021-06-18</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-06-30T01:49:36.338Z" title="更新于 2021-06-30 09:49:36">2021-06-30</time></span></div><div class="content">信息系统安全复习提纲第一章信息系统安全包括：设备安全，数据安全，内容安全，行为安全。数据安全即传统的信息安全。
设备的安全是信息安全的首要问题，包括设备的稳定性，可靠性，可用性。
数据安全值采取措保报数据免受未授权的泄露，篡改和毁坏，包括数据的秘密性，数据的真实性，数据的完整性。
攻击分为主动攻击和被动攻击
被动攻击
攻击者在未被授权的情况下，对传输的信息进行窃听和监测以非法获取信息或数据文件，但不对数据信息做任何修改。
手段：

搭线监听：将导线达到无人值守的网络传输线路上进行监听
无限截获：通过对电磁信号的分析获得网络数据
其他截获：种植木马病毒，将有用信息发送出来
流量分析：分析通信双方的流量参数获取信息。

主动攻击
对数据进行篡改和伪造。
手段：

伪装 指一个实体假冒另一个实体
重放 攻击者对截获的数据进行复制，并在非授权的情况下进行传输。
篡改 对合法信息的某些部分进行修改、删除、或者延迟消息的传输、改变消息的传输顺序。
拒绝服务：阻止或者禁止信息系统的正常使用。

主动攻击的特点与被动攻击正好相反，被动攻击虽然难以预测，但是可采取措施有效防止，而要防止主动攻击是十分困难 ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/2021/06/16/%E6%9C%AA%E5%91%BD%E5%90%8D/" title="butterfly demo项目">     <img class="post_bg" src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/3989.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="butterfly demo项目"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/06/16/%E6%9C%AA%E5%91%BD%E5%90%8D/" title="butterfly demo项目">butterfly demo项目</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-06-16T07:46:31.551Z" title="发表于 2021-06-16 15:46:31">2021-06-16</time><span class="article-meta__separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-07-05T01:16:41.717Z" title="更新于 2021-07-05 09:16:41">2021-07-05</time></span></div><div class="content">pie
    title Key elements in Product X
    &quot;Calcium&quot; : 42.96
    &quot;Potassium&quot; : 50.05
    &quot;Magnesium&quot; : 10.01
    &quot;Iron&quot; :  5

graph TD

​	

test1 1test1 2test1 3This is Tab 1.This is Tab 2.This is Tab 3.
Butterfly
Butterfly
Butterfly
Butterfly
Butterfly
Butterfly
Butterfly
臣亮言：先帝 创业未半，而中道崩殂 。今天下三分，益州疲敝 ，此诚危急存亡之秋 也！然侍衞之臣，不懈于内；忠志之士 ，忘身于外者，盖追先帝之殊遇，欲报之于陛下也。诚宜开张圣听，以光先帝遗德，恢弘志士之气；不宜妄自菲薄，引喻失义，以塞忠谏之路也。宫中、府中，俱为一体；陟罚臧否，不宜异同。若有作奸 、犯科 ，及为忠善者，宜付有司，论其刑赏，以昭陛下平明之治；不宜偏私，使内 ...</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span><a class="page-number" href="/page/2/#content-inner">2</a><span class="space">&hellip;</span><a class="page-number" href="/page/4/#content-inner">4</a><a class="extend next" rel="next" href="/page/2/#content-inner"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="card-info-avatar is-center"><img class="avatar-img" src="/img/My%20avatar.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/><div class="author-info__name">Charles Yan</div><div class="author-info__description">脑子有智慧，心里有担当，事事有着落，见见有回应</div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">37</div></a></div><div class="card-info-data-item is-center"><a href="/tags/"><div class="headline">标签</div><div class="length-num">22</div></a></div><div class="card-info-data-item is-center"><a href="/categories/"><div class="headline">分类</div><div class="length-num">12</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/yan122927467"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/yan122927467" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:122927467@qq.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">考研ing，不定时更新。。。</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2021/06/27/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/" title="网络安全复习提纲"><img src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/12998.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="网络安全复习提纲"/></a><div class="content"><a class="title" href="/2021/06/27/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/" title="网络安全复习提纲">网络安全复习提纲</a><time datetime="2021-06-27T01:33:46.091Z" title="发表于 2021-06-27 09:33:46">2021-06-27</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/06/24/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8%E5%AE%9E%E8%AE%AD%E7%AC%AC%E5%9B%9B%E5%A4%A9/" title="信息系统安全实训第四天"><img src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/3989.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="信息系统安全实训第四天"/></a><div class="content"><a class="title" href="/2021/06/24/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8%E5%AE%9E%E8%AE%AD%E7%AC%AC%E5%9B%9B%E5%A4%A9/" title="信息系统安全实训第四天">信息系统安全实训第四天</a><time datetime="2021-06-24T15:13:39.255Z" title="发表于 2021-06-24 23:13:39">2021-06-24</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/06/23/%E5%AF%86%E7%A0%81%E5%AD%A6%E5%A4%8D%E4%B9%A0%E6%8F%90%E7%BA%B2/" title="密码学复习提纲"><img src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/7801.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="密码学复习提纲"/></a><div class="content"><a class="title" href="/2021/06/23/%E5%AF%86%E7%A0%81%E5%AD%A6%E5%A4%8D%E4%B9%A0%E6%8F%90%E7%BA%B2/" title="密码学复习提纲">密码学复习提纲</a><time datetime="2021-06-23T12:59:21.722Z" title="发表于 2021-06-23 20:59:21">2021-06-23</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/06/23/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8%E5%AE%9E%E8%AE%AD%E7%AC%AC%E4%B8%89%E5%A4%A9/" title="信息系统安全实训第三天"><img src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/3989.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="信息系统安全实训第三天"/></a><div class="content"><a class="title" href="/2021/06/23/%E4%BF%A1%E6%81%AF%E7%B3%BB%E7%BB%9F%E5%AE%89%E5%85%A8%E5%AE%9E%E8%AE%AD%E7%AC%AC%E4%B8%89%E5%A4%A9/" title="信息系统安全实训第三天">信息系统安全实训第三天</a><time datetime="2021-06-23T11:04:52.832Z" title="发表于 2021-06-23 19:04:52">2021-06-23</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/06/22/%E7%AC%AC%E4%BA%8C%E5%A4%A9%E8%AF%BE%E4%B8%8A%E7%AC%94%E8%AE%B0/" title="docker的简单命令使用"><img src="https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/3989.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="docker的简单命令使用"/></a><div class="content"><a class="title" href="/2021/06/22/%E7%AC%AC%E4%BA%8C%E5%A4%A9%E8%AF%BE%E4%B8%8A%E7%AC%94%E8%AE%B0/" title="docker的简单命令使用">docker的简单命令使用</a><time datetime="2021-06-22T11:24:42.524Z" title="发表于 2021-06-22 19:24:42">2021-06-22</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
            <i class="fas fa-folder-open"></i>
            <span>分类</span>
            <a class="card-more-btn" href="/categories/" title="查看更多">
    <i class="fas fa-angle-right"></i></a>
            </div>
            <ul class="card-category-list" id="aside-cat-list">
            <li class="card-category-list-item "><a class="card-category-list-link" href="/categories/IOS%E5%BC%80%E5%8F%91/"><span class="card-category-list-name">IOS开发</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Mac%E9%AA%9A%E6%93%8D%E4%BD%9C/"><span class="card-category-list-name">Mac骚操作</span><span class="card-category-list-count">5</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Microsoft%E6%8A%80%E8%83%BD/"><span class="card-category-list-name">Microsoft技能</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E4%B8%8A%E8%AF%BE%E7%AC%94%E8%AE%B0/"><span class="card-category-list-name">上课笔记</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E5%AF%86%E7%A0%81%E5%AD%A6%E5%AE%9E%E9%AA%8C/"><span class="card-category-list-name">密码学实验</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E5%BE%81%E6%9C%8DC%E6%8C%87%E9%92%88/"><span class="card-category-list-name">征服C指针</span><span class="card-category-list-count">3</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%95%A3%E6%96%87%E9%9B%86/"><span class="card-category-list-name">散文集</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/"><span class="card-category-list-name">数据库</span><span class="card-category-list-count">1</span></a></li>
            </ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/%E6%95%A3%E6%96%87/" style="font-size: 1.15em; color: rgb(124, 60, 111)">散文</a><a href="/tags/%E6%96%87%E7%AB%A0/" style="font-size: 1.15em; color: rgb(185, 144, 8)">文章</a><a href="/tags/%E8%80%83%E7%A0%94/" style="font-size: 1.15em; color: rgb(77, 194, 163)">考研</a><a href="/tags/%E8%8B%B1%E8%AF%AD/" style="font-size: 1.15em; color: rgb(42, 100, 48)">英语</a><a href="/tags/mac%E4%B8%8Ewindows%E5%85%BC%E5%AE%B9%E6%80%A7/" style="font-size: 1.15em; color: rgb(95, 24, 0)">mac与windows兼容性</a><a href="/tags/C%E6%8C%87%E9%92%88/" style="font-size: 1.25em; color: rgb(126, 51, 19)">C指针</a><a href="/tags/MySQL/" style="font-size: 1.15em; color: rgb(32, 104, 29)">MySQL</a><a href="/tags/Mac/" style="font-size: 1.3em; color: rgb(142, 80, 16)">Mac</a><a href="/tags/%E4%B8%8A%E8%AF%BE%E7%AC%94%E8%AE%B0/" style="font-size: 1.45em; color: rgb(54, 21, 195)">上课笔记</a><a href="/tags/markdown/" style="font-size: 1.15em; color: rgb(132, 13, 168)">markdown</a><a href="/tags/LeeCode/" style="font-size: 1.15em; color: rgb(62, 178, 189)">LeeCode</a><a href="/tags/%E7%AE%97%E6%B3%95/" style="font-size: 1.45em; color: rgb(119, 151, 31)">算法</a><a href="/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" style="font-size: 1.4em; color: rgb(56, 119, 15)">数据结构</a><a href="/tags/swift/" style="font-size: 1.2em; color: rgb(183, 32, 83)">swift</a><a href="/tags/swiftUI/" style="font-size: 1.15em; color: rgb(56, 199, 122)">swiftUI</a><a href="/tags/sql%E8%AF%AD%E5%8F%A5/" style="font-size: 1.15em; color: rgb(141, 192, 58)">sql语句</a><a href="/tags/vim/" style="font-size: 1.15em; color: rgb(132, 136, 23)">vim</a><a href="/tags/word%E6%8A%80%E5%B7%A7/" style="font-size: 1.15em; color: rgb(168, 88, 131)">word技巧</a><a href="/tags/%E7%BD%91%E7%BB%9C%E6%94%BB%E9%98%B2/" style="font-size: 1.35em; color: rgb(191, 89, 93)">网络攻防</a><a href="/tags/PTA/" style="font-size: 1.35em; color: rgb(1, 10, 181)">PTA</a><a href="/tags/%E4%B8%8A%E8%AF%BE%E7%AC%94%E8%AE%B0-%E7%AE%97%E6%B3%95/" style="font-size: 1.15em; color: rgb(200, 185, 194)">上课笔记 - 算法</a><a href="/tags/%E5%AF%86%E7%A0%81%E5%AD%A6/" style="font-size: 1.15em; color: rgb(124, 92, 115)">密码学</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span><a class="card-more-btn" href="/archives/" title="查看更多">
    <i class="fas fa-angle-right"></i></a></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/06/"><span class="card-archive-list-date">六月 2021</span><span class="card-archive-list-count">9</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/04/"><span class="card-archive-list-date">四月 2021</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2020/12/"><span class="card-archive-list-date">十二月 2020</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2020/11/"><span class="card-archive-list-date">十一月 2020</span><span class="card-archive-list-count">3</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2020/09/"><span class="card-archive-list-date">九月 2020</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2020/08/"><span class="card-archive-list-date">八月 2020</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2020/07/"><span class="card-archive-list-date">七月 2020</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2020/04/"><span class="card-archive-list-date">四月 2020</span><span class="card-archive-list-count">2</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">37</div></div><div class="webinfo-item"><div class="item-name">已运行时间 :</div><div class="item-count" id="runtimeshow" data-publishDate="2019-12-31T16:00:00.000Z"></div></div><div class="webinfo-item"><div class="item-name">本站总字数 :</div><div class="item-count">36.5k</div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2021-07-05T01:35:45.106Z"></div></div></div></div></div></div></main><footer id="footer" style="background-image: url('https://gitee.com/yan_zilong/picgo/raw/master/img/Blog/post/密码学复习提纲/16922.jpg')"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2021 By Charles Yan</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">Hi, welcome to my <a target="_blank" rel="noopener" href="https:charlesyan.cn/">blog</a>!</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="font-plus" type="button" title="放大字体"><i class="fas fa-plus"></i></button><button id="font-minus" type="button" title="缩小字体"><i class="fas fa-minus"></i></button><button id="translateLink" type="button" title="简繁转换">简</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="chat_btn" type="button" title="rightside.chat_btn"><i class="fas fa-sms"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><div class="search-dialog__title" id="local-search-title">本地搜索</div><div id="local-input-panel"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div></div><hr/><div id="local-search-results"></div><span class="search-close-button"><i class="fas fa-times"></i></span></div><div id="search-mask"></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/medium-zoom/dist/medium-zoom.min.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script>function panguFn () {
  if (typeof pangu === 'object') pangu.autoSpacingPage()
  else {
    getScript('https://cdn.jsdelivr.net/npm/pangu/dist/browser/pangu.min.js')
      .then(() => {
        pangu.autoSpacingPage()
      })
  }
}

function panguInit () {
  if (false){
    GLOBAL_CONFIG_SITE.isPost && panguFn()
  } else {
    panguFn()
  }
}

document.addEventListener('DOMContentLoaded', panguInit)</script><script src="/js/search/local-search.js"></script><script>var preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',preloader.endLoading())</script><div class="js-pjax"><script>function subtitleType () {
  fetch('https://api.btstu.cn/yan/api.php?charset=utf-8&encode=json')
    .then(response => response.json())
    .then(data => {
      if (true) {
        var sub = "永远不足 永远努力".length == 0 ? new Array() : "永远不足 永远努力".split(',')
        var both = sub.unshift(data.text)
        typed = new Typed('#subtitle', {
          strings: sub,
          startDelay: 300,
          typeSpeed: 150,
          loop: true,
          backSpeed: 50,
        })
      } else {
        document.getElementById('subtitle').innerHTML = data.text
      }
    })
}

if (true) {
  if (typeof Typed === 'function') {
    subtitleType()
  } else {
    getScript('https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js').then(subtitleType)
  }
} else {
  subtitleType()
}
</script><script>if (document.getElementsByClassName('mermaid').length) {
  if (window.mermaidJsLoad) mermaid.init()
  else {
    getScript('https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js').then(() => {
      window.mermaidJsLoad = true
      mermaid.initialize({
        theme: 'default',
      })
      false && mermaid.init()
    })
  }
}</script></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>